/* === Clear and fix === */
#dock-mainmenu-wrapper .clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;line-height:0;visibility:hidden}
#dock-mainmenu-wrapper .clearfix{zoom:1}

/* === General styles === */
#dock-mainmenu-wrapper .hide{ display: none; }
#dock-mainmenu-wrapper .show{ display: block; }

/* === Dockmenu wrapper === */
#dock-mainmenu-wrapper li, 
#dock-mainmenu-wrapper a, 
#dock-mainmenu-wrapper a:focus, 
#dock-mainmenu-wrapper a:visited, 
#dock-mainmenu-wrapper a:link, 
#dock-mainmenu-wrapper a:hover, 
#dock-mainmenu-wrapper img 
{outline: none;}

#dock-mainmenu-wrapper.tb
{
  position: fixed;
}

#dock-mainmenu-wrapper.lr
{
	top: 0;
	width: 100px;
}

/* === Dockmenu perspective board === */
#dock-mainmenu-wrapper .menu-perspective
{
	-webkit-perspective:260;
	-moz-perspective:260;
	perspective:260px;
}

#dock-mainmenu-wrapper.lr .menu-perspective{ display: none; }

/* === Dockmenu board === */
#dock-mainmenu-wrapper.tb .menu-board
{
	width: 90%;
	height: 50px;
	margin: 0 5%;
	position: relative;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0px 7px 25px -7px rgba(0, 0, 0, .8);
	-mox-box-shadow: 0px 7px 25px -7px rgba(0, 0, 0, .8);
	box-shadow: 0px 7px 25px -7px rgba(0, 0, 0, .8);
	-webkit-transform: rotateX(27deg);
	-moz-transform: rotateX(27deg);
	transform: rotateX(27deg);
}

/* === Dockmenu list styles (ul) === */
#dock-mainmenu-wrapper.tb #dock-mainmenu-list
{
  width: 100%;
  margin: 0;
  padding: 0px;
  position: relative;
  list-style: none;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}

#dock-mainmenu-wrapper.lr #dock-mainmenu-list
{
  width: 100px;
  margin: 0;
  padding: 0px;
  position: relative;
  list-style: none;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

#dock-mainmenu-wrapper .no-board #dock-mainmenu-list { margin:0; }

#dock-mainmenu-wrapper.tb #dock-mainmenu-list li
{ 
  position: relative;
  z-index: 10;
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
  overflow: visible;
  margin: 0 3px;
}

#dock-mainmenu-wrapper.lr #dock-mainmenu-list li
{
  position: relative;
  z-index: 10;
  vertical-align: middle;
  white-space: nowrap;
  overflow: visible;
  margin: 0 3px;
}

#dock-mainmenu-wrapper.tb #dock-mainmenu-list .ui-effects-wrapper 
{ 
	width: 106px;
	height: 96px;
	display: inline-block;
	float: left;
}

#dock-mainmenu-wrapper.tb #dock-mainmenu-list li a
{
  width: 64px;
  height: 116px;
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  text-decoration: none;
  white-space: normal;
  letter-spacing: normal;
  color: #000;
  text-align: center;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#dock-mainmenu-wrapper.lr #dock-mainmenu-list li a
{
  width: 64px;
  height: 74px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  white-space: normal;
  letter-spacing: normal;
  color: #000;
  text-align: center;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

#dock-mainmenu-wrapper #dock-mainmenu-list li a:hover,
#dock-mainmenu-wrapper #dock-mainmenu-list .ui-effects-wrapper  li a
{
  width: 96px;
  height: 96px;
  margin-bottom:10px;
}

#dock-mainmenu-wrapper #dock-mainmenu-list li a img 
{ 
	width:100%; 
	height: auto;
	position: absolute;
	left: 0px;
	bottom: 10px;
	text-align: center;
	border: 0px none;
	/* margin-bottom: 15px;*/
	-webkit-box-reflect: below 0 -webkit-linear-gradient(top, transparent 70%, rgba(255,255,255,.1) 85%, rgba(0,0,0,.4) 100%);
}

#dock-mainmenu-wrapper #dock-mainmenu-list li a:hover span:after {
	display: block;
	height: 9px;
	width: 100%;
	background: rgba(0, 0, 0, 0) url("../icons/span.png") 50% 0 no-repeat;
	position: absolute;
	right:0;
	content: "";
	text-align: center;
	margin: 0;
	padding: 0;
}

#dock-mainmenu-wrapper.tb #dock-mainmenu-list .nearby a,
#dock-mainmenu-wrapper.lr #dock-mainmenu-list .nearby a
{
  width: 82px;
  height: 82px;
}

#dock-mainmenu-wrapper #dock-mainmenu-list li span
{
  position: relative;
  line-height: 1.3em;
  display: none;
  text-align: center;
  font-weight: bold;
  font-size: 80%;
  padding: 4px 12px;
  background-color: #ccc;
  margin: 0px auto;
  top: -50px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  white-space: nowrap;
}

/* === Dockmenu board metal effect background === */
#dock-mainmenu-wrapper .metal-gradient
{
  background: -webkit-radial-gradient(center, circle farthest-corner, rgba(255,255,255,0) 50%, rgba(200,200,200,1)), -webkit-radial-gradient(center, circle, rgba(255,255,255,.35), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 21%), -webkit-radial-gradient(center, circle, rgba(0,0,0,.2), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 21%), -webkit-radial-gradient(center, circle farthest-corner, #f0f0f0, #c0c0c0);
  background: -moz-radial-gradient(center, circle farthest-corner, rgba(255,255,255,0) 50%, rgba(200,200,200,1)), -moz-radial-gradient(center, circle, rgba(255,255,255,.35), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 21%), -moz-radial-gradient(center, circle, rgba(0,0,0,.2), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 21%), -moz-radial-gradient(center, circle farthest-corner, #f0f0f0, #c0c0c0);   
  background: -ms-radial-gradient(center, circle farthest-corner, rgba(255,255,255,0) 50%, rgba(200,200,200,1)), -ms-radial-gradient(center, circle, rgba(255,255,255,.35), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 21%), -ms-radial-gradient(center, circle, rgba(0,0,0,.2), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 21%), -ms-radial-gradient(center, circle farthest-corner, #f0f0f0, #c0c0c0); 
}